Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(IURLGenerator): Allow markdown parenthesis in URL_REGEX_NO_MODIFIERS #49334

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

provokateurin
Copy link
Member

Summary

Related to nextcloud/spreed#13756.
Apparently the web UI doesn't use this regex but a hardcoded one, but I fixed it there as well: nextcloud-libraries/nextcloud-vue#6224
Clients should be using this regex, so it also needs to work with the parenthesis from embedded markdown links.

Checklist

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs extensive tests added to not break cases like:

Please check the website (https://nextcloud.com/)
Please check the website https://nextcloud.com/wikipedia_(has-braces)

And the likes. It was a long fight with usability of most users. So we really prefer broken previous over broken UX of normal users posting behaviour

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants